package com.hualan.sfzy.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName artical
 */
@Data
public class Artical {
    /**
     * 主键
     */
    private Integer id;

    /**
     * 文章名
     */
    private String name;

    /**
     * 文章简介
     */
    private String description;

    /**
     * 心理导师id
     */
    private Integer psycCounselorId;

    /**
     * 缩略图url
     */
    private String listView;

    /**
     * 详情内容
     */
    private String detail;

    /**
     * 阅读量
     */
    private Integer personCount;

    /**
     * 分类id
     */
    private Integer classificationId;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;

    /**
     * 状态
     */
    private String status;

    /**
     * 删除标记
     */
    private Integer del;

    private Counselor counselor;

    private ArticalClassification articalClassification;
}